package com.SmartCare.utils;

public class CommonTools {
    public static String getRoleString(int role) {
        switch (role) {
            case -2:
                return "游客";
            case -1:
                return "家属";
            case 0:
                return "老人";
            case 1:
                return "护工";
            default:
                return " ";
        }
    }
}
